#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
int main()
{
    printf("i am parent : %d \n",getpid());

    pid_t ret = fork();

    printf("ret = %d , pid = %d ,ppid = %d\n",ret,getpid(),getppid());
    sleep(1);

    return 0;
}
